const cinemaService = require('../../../services/cinemasService.js');

//查询
// let res1 = cinemaService.findAll();
// res1.then((dat) => {
//     console.log(dat);
// });

//分类查询
let res1 = cinemaService.addressQuery('时代广场');
res1.then((dat) => {
    console.log(dat);
});

// 添加
// let res2 = cinemaService.addCinema('123456影城','阿拉伯编码','666666','是');
// res2.then((dat) => {
//     console.log(dat);
// });

//删除
// let res3 = cinemaService.delCinema('619c7eed0df55ae21d9de2ac');
// res3.then((dat) => {
//     console.log(dat);
// });

//修改
// let res4 = cinemaService.editCinema('61a0a6d4542893449f92e659','星星影城中心','明镜之地','5614521369','否');
// res4.then((dat) => {
//     console.log(dat);
// });